Interface-driven Model-based Test Automation

نویسندگان

  • Mark Blackburn
  • Robert Busser
  • Aaron Nauman
  • Mark R. Blackburn
  • Robert D. Busser
  • Aaron M. Nauman
چکیده

M odel-based test automation has helped reduce cost, provide early identification of requirements defects, and improve test coverage [1, 2, 3, 4, 5, 6]. Industry use of model-based test automation has provided insight into practical methods that use interface driven analysis with requirements mod-eling to support automated test generation. However, the term interface is used loosely in this article. An interface is a component's inputs and outputs, along with the mechanism to set inputs, including state and history information , and retrieve the resulting outputs. Recommendations are provided to perform the modeling of textual requirements in conjunction with interface analysis to support reuse of models and their associated test driver mappings. Test-driver mappings specify the relationships between model variables and the interfaces of the system under test. The insights are useful for understanding how to scale models and the associated test-driver map-pings to support industry-sized verification projects, while supporting organizational integration that helps leverage key resources. We have applied the model-based test-automation method called the Test Automation Framework (TAF) since 1996. TAF integrates various government and commercially available model-development and test-generation tools to support defect prevention and automated testing of systems and software. TAF supports modeling methods that focus on representing requirements such as the Software Cost Reduction (SCR) method as well as methods that focus on representing design information such as Unified Modeling Language (UML)-based tools or Mathwork's Simulink, which supports control system modeling for automotive and aircraft systems. With model translation, requirements-based or design-based models are converted into test specifications. T-VEC is the test generation component of TAF that uses the test specification to produce tests. T-VEC supports test-vector generation, test-driver generation, requirements test-coverage analysis, and test results checking and reporting. Test vectors include inputs as well as the expected outputs with requirement-to-test traceability information. The test-driver mappings and the test vectors are inputs to the test-driver generator that produces test drivers. The test drivers are then executed against the implemented system during test execution. There are papers that describe requirements modeling [7] and others with examples that support automated test generation [3, 8, 9, 10]. Aissi provides a historical perspective on test-vector generation and describes some of the leading commercial tools [11]. Pretschner and Lotzbeyer briefly discuss extreme modeling that includes model-based test generation [12], which is similar to uses of TAF. There are various approaches to model-based testing and Robinson hosts a Web site that provides …

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Survey on Models and Test strategies for Event-Driven Software

A Graphical User Interface (GUI) testing tool is one to test applications user Interface and to detect the correctness of applications functionality. Event-Driven Software (EDS) can change state based on incoming events; common examples are GUI and web applications. These EDS pose a challenge to testing because there are a large number of possible event sequences that users can invoke through a...

متن کامل

Interface-driven Model-based Test Generation of Java Test Drivers

This paper extends prior work in model-based verification and describes interface-driven analysis that combines textual requirement modeling to support automated test generation of Java test scripts for executing against a database. It describes concepts of models and test driver mappings using examples for testing security functionality of an Oracle database using Java and standard Structured ...

متن کامل

Security Functional Testing Using An Interface-Driven Model-Based Test Automation Approach

Independent security functional testing on a product occupies a backseat in traditional security evaluation because of the cost and stringent coverage requirements. In this paper we present the details of an approach we have developed to automate security functional testing. The underlying framework is called TAF (Test Automation Framework) and the toolkit we have developed based on TAF is the ...

متن کامل

Usage of Robot Framework in Automation of Functional Test Regression

Manual testing is a time consuming process. In addition, regression testing, because of its repetitive nature, is error-prone, so automation is highly desirable. Robot Framework is simple, yet powerful and easily extensible tool which utilizes the keyword driven testing approach. Easy to use tabular syntax enables creating test cases in a uniform way. Ability to create reusable high-level keywo...

متن کامل

MobiGUITAR – A Tool for Automated Model-Based Testing of Mobile Apps

As mobile devices become increasingly smarter and more powerful, so too must the engineering of their software. User-interface driven system testing of these devices is gaining popularity, with each vendor releasing some automation tool(s). We feel that these tools are inappropriate for amateur programmers, an increasing fraction of the app developer population. We present MobiGUITAR for automa...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002